package com.gzy.mylog.model;

import com.gzy.mylog.utils.DateUtils;

public class Log {
    private Long id;
    private Long uid;
    private String content;
    private Long createAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Long createAt) {
        this.createAt = createAt;
    }


    public String getCreateAtShow() {
        return DateUtils.stampToDate(createAt);
    }
}
